<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>25_背景属性-半透明</title>
        <style>
            div {
                width: 400px;
                height: 400px;
                background-color: rgba(255, 0, 0, 0.3);
            }
        </style>
    </head>
    <body>
        <div>
            今天大家要背好多单词 真开心
        </div>
    </body>
</html>